import { http } from "@/uni-sub-base/service/request.js"
let moduleName = "User/"
import { getShopUrls } from "@/utils/appUrls.js"
import { getBaseUrl } from "@/utils/appUrls.js"

// 发送短信验证码
export function getSmsNoVerifyCode(tel, verifyCode, type = 8) {
    return http.get({
        url:
            getShopUrls().baseUrlShop +
            moduleName +
            "SendSmsNoVerifyCode?tel=" +
            tel +
            "&verifyCode=" +
            verifyCode +
            "&valid_type=" +
            type,
    })
}


export function GetSignInfo() {
    return http.post({
        url: getBaseUrl() + 'guide/' + moduleName + "GetSignInfo",
    })
}


export function GetSignRank(data) {
    return http.post({
        url: getBaseUrl() + 'guide/' + moduleName + "GetSignRank",
        data
    })
}
